home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 12536 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.4 KB

  1. Path: mail2news.demon.co.uk!genesis.demon.co.uk
  2. From: Lawrence Kirby <fred@genesis.demon.co.uk>
  3. Newsgroups: comp.lang.c
  4. Subject: Re: Redefinition of problem
  5. Date: Mon, 01 Apr 96 15:06:32 GMT
  6. Organization: none
  7. Distribution: world
  8. Message-ID: <828371192snz@genesis.demon.co.uk>
  9. References: <4jkc6h$mom@sol.caps.maine.edu>
  10. Reply-To: fred@genesis.demon.co.uk
  11. X-NNTP-Posting-Host: genesis.demon.co.uk
  12. X-Newsreader: Demon Internet Simple News v1.27
  13. X-Mail2News-Path: genesis.demon.co.uk
  14.  
  15. In article <4jkc6h$mom@sol.caps.maine.edu>
  16.            bensh@gandalf.UMCS.Maine.EDU "Shawn Benn" writes:
  17.  
  18. >Hey all!  I posted a question to the group yesterday.  I have worked a little
  19. >bit more on it and have some more information about the problem.
  20. >
  21. >The fseek problem seems to only occur when I open a file, close that file and
  22. >then try to reopen the same file in the same session.  Why is this so?  Is
  23. > there
  24. >a solution to this?
  25.  
  26. There is no problem with closing a file and reopening it later. Of course
  27. you could be reopening it with an inappropriate mode. Post code.
  28.  
  29. > FYI, I do not know that the file might have been already
  30. >opened when I open it.  It is part of a bigger application using a menu system.
  31.  
  32. If you have a file opened more than once the C language no longer defines the
  33. results.
  34.  
  35. -- 
  36. -----------------------------------------
  37. Lawrence Kirby | fred@genesis.demon.co.uk
  38. Wilts, England | 70734.126@compuserve.com
  39. -----------------------------------------
  40.